//
//  YSSubProductCategoryView.h
//  Yueshi
//
//  Created by Northwan on 15/8/11.
//  Copyright (c) 2015年 悦食中国. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol YSSubProductCategoryViewDelegate <NSObject>

@optional
-(void)categoryItemClick:(NSInteger)categoryId;
@end


@interface YSSubProductCategoryView : UIView
@property (weak, nonatomic) id<YSSubProductCategoryViewDelegate> delegate;
-(instancetype)initWithCategoryArray:(NSArray *)categoryArray;

@end
